package com.ruoyi.consult.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 纳税咨询管理对象 consult
 * 
 * @author ruoyi
 * @date 2023-04-07
 */
public class Consult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 咨询id */
    private Integer consultId;

    /** 咨询名称 */
    @Excel(name = "咨询名称")
    private String consultName;

    /** 类型id */
    @Excel(name = "类型id",readConverterExp = "1=个人,2=公司,3=个体")
    private Integer personId;

    /** 手机号 */
    @Excel(name = "手机号")
    private String iphone;

    /** 收入 */
    @Excel(name = "收入")
    private BigDecimal income;

    /** 咨询的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "咨询的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date consultTime;

    /** 是否已受理 */
    @Excel(name = "是否已受理",readConverterExp = "0=已受理,1=未受理")
    private Integer state;

    /** 咨询结果 */
    @Excel(name = "咨询结果")
    private String result;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String recoveryTime;

    /** 0存在1删除 */
    @Excel(name = "0存在1删除",readConverterExp = "0=已删除,1=未删除")
    private Integer wipe;

    /** 咨询内容 */
    @Excel(name = "咨询内容")
    private String description;

    public String getRecoveryTime() {
        return recoveryTime;
    }

    public void setRecoveryTime(String recoveryTime) {
        this.recoveryTime = recoveryTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setConsultId(Integer consultId)
    {
        this.consultId = consultId;
    }

    public Integer getConsultId() 
    {
        return consultId;
    }
    public void setConsultName(String consultName) 
    {
        this.consultName = consultName;
    }

    public String getConsultName() 
    {
        return consultName;
    }
    public void setPersonId(Integer personId) 
    {
        this.personId = personId;
    }

    public Integer getPersonId() 
    {
        return personId;
    }
    public void setIphone(String iphone) 
    {
        this.iphone = iphone;
    }

    public String getIphone() 
    {
        return iphone;
    }
    public void setIncome(BigDecimal income) 
    {
        this.income = income;
    }

    public BigDecimal getIncome() 
    {
        return income;
    }

    public Date getConsultTime() {
        return consultTime;
    }

    public void setConsultTime(Date consultTime) {
        this.consultTime = consultTime;
    }

    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }

    public void setWipe(Integer wipe) 
    {
        this.wipe = wipe;
    }

    public Integer getWipe() 
    {
        return wipe;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("consultId", getConsultId())
            .append("consultName", getConsultName())
            .append("personId", getPersonId())
            .append("iphone", getIphone())
            .append("income", getIncome())
            .append("consultTime", getConsultTime())
            .append("state", getState())
            .append("result", getResult())
            .append("recoveryTime", getRecoveryTime())
            .append("wipe", getWipe())
            .toString();
    }
}
